using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN ThuTrongTuanEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: ThuTrongTuanEntity</para>
	/// <para>Description: ClassThuTrongTuanEntity store data of table ThuTrongTuan</para>
	///</summary>

	[DataContract]
	public partial class ThuTrongTuanEntity{


		private bool _InternalChangedIsNullThuTrongTuan_ID=true;
		private bool _IsNullThuTrongTuan_ID=true;
		private bool _InternalChangedIsNullMaThu=true;
		private bool _IsNullMaThu=true;
		private bool _InternalChangedIsNullTenThu=true;
		private bool _IsNullTenThu=true;
		private bool _InternalChangedIsNullThuTu=true;
		private bool _IsNullThuTu=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private int _ThuTrongTuan_ID;
		private string _MaThu;
		private string _TenThu;
		private int _ThuTu;
		private string _GhiChu;
		[DataMember]
		public bool IsNullThuTrongTuan_ID{
			get{return _IsNullThuTrongTuan_ID;}
			set{if(!_InternalChangedIsNullThuTrongTuan_ID)_IsNullThuTrongTuan_ID=value;}
		}
		[DataMember]
		public bool IsNullMaThu{
			get{return _IsNullMaThu;}
			set{if(!_InternalChangedIsNullMaThu)_IsNullMaThu=value;}
		}
		[DataMember]
		public bool IsNullTenThu{
			get{return _IsNullTenThu;}
			set{if(!_InternalChangedIsNullTenThu)_IsNullTenThu=value;}
		}
		[DataMember]
		public bool IsNullThuTu{
			get{return _IsNullThuTu;}
			set{if(!_InternalChangedIsNullThuTu)_IsNullThuTu=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public int ThuTrongTuan_ID{
			get{return _ThuTrongTuan_ID;}
			set{
				_ThuTrongTuan_ID=value;
				if(_ThuTrongTuan_ID!=null){
					_IsNullThuTrongTuan_ID=false;
					_InternalChangedIsNullThuTrongTuan_ID=true;
				}
			}
		}
		[DataMember]
		public string MaThu{
			get{return _MaThu;}
			set{
				_MaThu=value;
				if(_MaThu!=null){
					_IsNullMaThu=false;
					_InternalChangedIsNullMaThu=true;
				}
			}
		}
		[DataMember]
		public string TenThu{
			get{return _TenThu;}
			set{
				_TenThu=value;
				if(_TenThu!=null){
					_IsNullTenThu=false;
					_InternalChangedIsNullTenThu=true;
				}
			}
		}
		[DataMember]
		public int ThuTu{
			get{return _ThuTu;}
			set{
				_ThuTu=value;
				if(_ThuTu!=null){
					_IsNullThuTu=false;
					_InternalChangedIsNullThuTu=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END ThuTrongTuanEntityBase*****************************************/
	/*****************************************************************************************************/
}

